﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x0200008C RID: 140
	public class TCloseStmt : TCustomSqlStatement
	{
		// Token: 0x060003A0 RID: 928 RVA: 0x002FA0DB File Offset: 0x002F82DB
		public TCloseStmt() : this(EDbVendor.dbvoracle)
		{
		}

		// Token: 0x060003A1 RID: 929 RVA: 0x002FA0E5 File Offset: 0x002F82E5
		public TCloseStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sst_closestmt;
		}

		// Token: 0x17000064 RID: 100
		// (get) Token: 0x060003A2 RID: 930 RVA: 0x002FA0F6 File Offset: 0x002F82F6
		// (set) Token: 0x060003A3 RID: 931 RVA: 0x002FA0FE File Offset: 0x002F82FE
		public virtual TObjectName CursorName
		{
			get
			{
				return this.cursorName;
			}
			set
			{
				this.cursorName = value;
			}
		}

		// Token: 0x060003A4 RID: 932 RVA: 0x002FA107 File Offset: 0x002F8307
		public override void init(object arg1)
		{
			this.cursorName = (TObjectName)arg1;
		}

		// Token: 0x060003A5 RID: 933 RVA: 0x002FA115 File Offset: 0x002F8315
		internal override void buildsql()
		{
		}

		// Token: 0x060003A6 RID: 934 RVA: 0x002FA117 File Offset: 0x002F8317
		internal override void clear()
		{
		}

		// Token: 0x060003A7 RID: 935 RVA: 0x002FA119 File Offset: 0x002F8319
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x060003A8 RID: 936 RVA: 0x002FA120 File Offset: 0x002F8320
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x060003A9 RID: 937 RVA: 0x002FA122 File Offset: 0x002F8322
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x060003AA RID: 938 RVA: 0x002FA12D File Offset: 0x002F832D
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060003AB RID: 939 RVA: 0x002FA13D File Offset: 0x002F833D
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x040010B9 RID: 4281
		private TObjectName cursorName;
	}
}
